<script language="text/javascript">
new function () {
	var is_new_user = getCookie('is_new_user');
	var is_show_extension_tip = getCookie('is_show_extension_tip');
	
	if (is_new_user || is_show_extension_tip) {
		$('#reader_btn_save').remove();		// Do not show save button for new user
	}
	if (is_new_user) {
		$('#reader_btn_save').remove();		// Do not show save button for new user
		
		var w1 = Math.ceil($(window).width() * 0.5);
		var w2 = Math.ceil($(window).width() * 0.15);

		var html = '';
		html += '<table id="help_reader" width="100%" cellpadding="0" cellspacing="0" border="0" style="position:fixed; border:none; top:0px; left:0px; right:0px; bottom: 0px; width:100%; height:100%; opacity: .80; filter:Alpha(Opacity=80)">';
		html += '<tr>';
		html += '<td width="11%" style="background-color:#000;">&nbsp;</td>';
		html += '<td width="50%"><img src="/images/help_mask_1.png" width="' + w1 + '" height="400" border=0></td>';
		html += '<td width="24%" style="background-color:#000;">&nbsp;</td>';
		html += '<td width="15%"><img src="/images/help_mask_2.png" width="' + w2 + '" height="400" border=0 onclick="$(\'#help_reader\').remove(); $(\'#help_reader_label\').remove();"></td>';
		html += '</tr>';
		html += '<tr><td colspan="4" height="100%" valign="top" style="background-color:#000; height:100%; text-align:center;">&nbsp;</td></tr>';
		html += '</table>';
		html += '<div id="help_reader_label">';
		html += '<img src="/images/help_label_1.png" style="position:absolute; top:20px; left:20px;">';
		html += '<img src="/images/help_label_2.png" style="position:absolute; top:120px; left:80px;">';
		html += '<img src="/images/help_label_3.png" style="position:absolute; top:40px; right:12%;" onclick="$(\'#help_reader\').remove(); $(\'#help_reader_label\').remove();">';
		html += '<img src="/images/help_button_ok.png" style="position:absolute; top:400px; left:'+($(window).width()/2 - 122)+'px; cursor:pointer;" onclick="$(\'#help_reader\').remove(); $(\'#help_reader_label\').remove();" onmouseover="$(this).attr(\'src\', \'/images/help_button_ok_hover.png\')" onmouseout="$(this).attr(\'src\', \'/images/help_button_ok.png\')">';
		html += '</div>';

		$('#reader').after(html);
		
		setCookie('is_new_user', '', -1);
	}
}
</script>